package com.demarc.pesquisas.negocio.service.domicilio;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demarc.pesquisas.negocio.dao.AbstractDAO;
import com.demarc.pesquisas.negocio.dao.DomicilioDAO;
import com.demarc.pesquisas.negocio.entidade.domicilio.Domicilio;
import com.demarc.pesquisas.negocio.service.AbstractService;

@Service
public class DomicilioService extends AbstractService<Domicilio, Long>
		implements IDomicilioService {

	@Autowired
	private DomicilioDAO dao;

	@Override
	public AbstractDAO<Domicilio, Long> getDAO() {
		return dao;
	}

	public DomicilioDAO getDao() {
		return dao;
	}

	public void setDao(DomicilioDAO dao) {
		this.dao = dao;
	}
}
